package com.xin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author WYX
 * @create 2020-04-02-10:52
 */
@Controller
@RequestMapping("/t3")
public class ControllerDemo03 {

    @RequestMapping("/t1")
    public String test(Model model){
        model.addAttribute("msg","演示RequestMapping");
        return "test";
    }
}
